
{% extends "layout.html" %}
{% block head %}
{{ super() }}
<link href="{{ url_for('static', filename='css/login.css') }}" rel="stylesheet"/>
{% endblock %}
<!--登陆表单-->
{% block content %}
      <div class="regular-1 register-form">
        <div class="inner-full">
            <span class="inner-topic">创建新账户</span>
        </div>
        <div class="register-inner">
          {% if error %}
          <div class=error><strong>注册失败:</strong> {{ error }} </div>
          {% endif %}
          <form action="" method="post">
            {{ form.csrf_token }}
            <li class="register-inner-li-1"><div class="register-inner-div-1">电子邮箱:</div> <input type="email" name="email" id="email" placeholder="邮箱" /></li>
            <li class="register-inner-li-1"><span class="register-inner-div-1">昵称:</span><input type="text" name="user" /></li>
            <li class="register-inner-li-1"><span class="register-inner-div-1">密码:</span> <input type="password" name="password" id="password1" placeholder="密码" /></li>
            <li class="register-inner-li-1"><span class="register-inner-div-1">确认密码:</span> <input type="password" id="password2" name="confirm" placeholder="再次输入密码" /></li>
            <li class="register-inner-li-1"><button type="submit" value="Register">提交</button></li>
          </form>
        </div>
      </div>
{% endblock %}